package validator

import (
	"fmt"
	"github.com/go-playground/validator/v10"
)

func ValidateMobile(fl validator.FieldLevel) bool {
	mobile := fl.Field().String()
	fmt.Println(mobile)
	if len(mobile) != 11 {
		fl.Field().Interface()
		return false
	}
	return true
}
